package com.chuck.blogpro.service;

import com.chuck.blogpro.pojo.Article;
import com.chuck.blogpro.pojo.PageBean;

public interface ArticleService {

    Article getArticleById(Integer id);

    PageBean page(Integer page, Integer pageSize);

    void add(Article article);

    void delete(Integer id);

    void update(Article article);
}
